{% extends "base.html" %}
{% block page %}

<div id="splashtext" class="box">

<div id="info">


<h2>
<span>RSVP List<span>
</h2>


<div id="intro">

# of RSVPs: {{count}} <br>
# of Guests: {{guest_count}} <br><br>
<span style="font-weight: bold">Total #: {{total}} </span> <br><br>


<table>
<thead>
<th>First Name</th>
<th>Last Name</th>
<th> Number of Guests </th>
<th> Email </th>
</thead>
<tbody>
{% for guest in rsvps %}
<tr>
<td> <a href="#">{{guest.firstname}}</a> </td>
<td> {{guest.lastname }} </td>
<td> {{guest.guest_num}}</td>
<td> {%if guest.email %} {{guest.email}} {%else%} none {%endif%}</td>
{% endfor %}
</tbody>
</table>
<br><br>

</div>

</div>
</div>


{% endblock %}
